<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<xi:include href="master.html" />

<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title><span py:replace="blog.name">Ponies!!1!one!</span> - <span py:replace="blog.owner.display_name">Sara Swift</span></title>

<style type="text/css" media="all">

#post .postcontent {
    border-bottom: 1px dotted #aaa; 
    margin: 1.5em 0;
}

.oldstylecomments {
    list-style-image:none; list-style-position:outside; list-style-type:none;
}
.oldstylecomment {
}

</style>

<link rel="index" title="Archives - ${blog.name}" type="text/html" href="${tg.url_for('archives')}" />

</head>

<body id="post" py:with="post = posts[0]">

    <div class="postdetails">
        <span class="postdate"><a href="${tg.url_for('archives')}#p${post.post_id}">${post.creation_time.strftime('%e %B %Y').strip()}</a></span>

        <span class="posttags">
            <span py:for="tag in post.tags" py:strip="True">
                <a href="${tg.url_for('tags', tag=tag)}" rel="tag" class="tag" py:content="tag.display_name">me</a>
            </span>
        </span>

        <span class="enddetails">&nbsp;</span>
    </div>

    <h1 class="title"><a href="#"></a><a title="Permanent Link to ${post.title}" href="${tg.url_for('posts', post=post)}" rel="bookmark">${post.title}</a></h1>

    <div class="postcontent" py:content="HTML(post.getContentHtml())" />

    <div id="disqus_thread">

    </div>
    <noscript><a href="http://nxsy.disqus.com/?url=ref">View the forum thread.</a></noscript>
    <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>

<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.7.0/build/yuiloader-dom-event/yuiloader-dom-event.js"></script>
<script>
var oldstylers = YAHOO.util.Dom.getElementsByClassName('dp::syntaxhighlight');
YAHOO.util.Dom.addClass(oldstylers, 'prettyprint');
if (YAHOO.util.Dom.getElementsByClassName('prettyprint').length) {
    YAHOO.util.Get.script("/tg_widgets/${theme.resource_name}/javascript/prettify.js", {
        onSuccess: function() {
            prettyPrint();
        }
    });
    YAHOO.util.Get.css("/tg_widgets/${theme.resource_name}/css/prettify.css");
}
</script>

  <div py:if="defined('post') and tg.production" py:strip="True">
  <script type="text/javascript">
  <span py:if="not tg.production" py:strip="True">var disqus_developer = 1;</span>
  var disqus_title = "${post.title.replace('\"', '\\\"')}";
  var disqus_url = "${tg.url_for('posts', post=post, qualified=True)}";
  </script>
  <script type="text/javascript" src="http://disqus.com/forums/nxsy/embed.js"></script>
  </div>

</body>
</html>
